﻿using GalaSoft.MvvmLight;
using PokerFunUtilities.Model;

namespace PokerFunUtilities.ViewModel
{
    /// <summary>
    /// This class contains properties that a View can data bind to.
    /// <para>
    /// Use the <strong>mvvminpc</strong> snippet to add bindable properties to this ViewModel.
    /// </para>
    /// <para>
    /// You can also use Blend to data bind with the tool's support.
    /// </para>
    /// <para>
    /// See http://www.galasoft.ch/mvvm/getstarted
    /// </para>
    /// </summary>
    public class ConfigurationTournamentViewModel : ViewModelBase
    {
        private ConfigurationTournament m_ConfigurationTournament;

        public ConfigurationTournament CurrentConfigurationTournament
        {
            get { return m_ConfigurationTournament; }
        }


        /// <summary>
        /// Initializes a new instance of the ConfigurationTournamentViewModel class.
        /// </summary>
        public ConfigurationTournamentViewModel()
        {
            
            ////if (IsInDesignMode)
            ////{
            ////    // Code runs in Blend --> create design time data.
            ////}
            ////else
            ////{
            ////    // Code runs "for real": Connect to service, etc...
            ////}
            m_ConfigurationTournament = new ConfigurationTournament();
           // m_ConfigurationTournament.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(m_ConfigurationTournament_PropertyChanged);


        }

        //void m_ConfigurationTournament_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
        //{
            
        //}

        ////public override void Cleanup()
        ////{
        ////    // Clean own resources if needed

        ////    base.Cleanup();
        ////}
    }
}